import express from "express";
const router = express.Router();
import AdminController from "../controller/AdminController";
router.post("/admin/login", AdminController.login);
router.post("/admin/register", AdminController.register);
router.get("/test", AdminController.getAllAdmin);
router.get("/admin/getToken", AdminController.getToken);
router.get("/admin/sendEmail", AdminController.sendEmail);
router.get("/admin/sendCaptcha/:codeId", AdminController.sendCaptcha);
export default router;
